package ua.com.globallogic.training.task2;

public class Device {
	String serialNumber;
	String producer;
	double weight; 
	
	public Device(){
		serialNumber = "1111111111";
		producer = "Sony";
		weight = 1.5;
	}
	
	public Device(String serialNumber, String producer, double weight) {
		this.serialNumber = serialNumber;
		this.producer = producer;
		this.weight = weight;
	}
	
	public void turnOn() {
		System.out.println("Device has been turned on");
	}
	
	public void turnOn(String mode) {
		System.out.println("Turning on the device in " + mode + " mode");
	}
	
	public void printCharacteristics() {
		System.out.println();
		System.out.println("Characteristics of the device: ");
		System.out.println("Serial number: " + serialNumber);
		System.out.println("Producer: " + producer);
		System.out.println("Weight: " + weight);
	}
	
}
